package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-04
 */
@ApiModel()
@Data
public class EquipmentInfoResponse {

    @ApiModelProperty(value = "设备id")
    private String id;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "紫荆设备编号")
    private String deviceNo;

    @ApiModelProperty(value = "联机码")
    private String onlineCode;

    @ApiModelProperty("经度")
    private Double positionLon;

    @ApiModelProperty("纬度")
    private Double positionLat;

    @ApiModelProperty("设备状态 0:离线 1:正常 2:低报 3:高报 4:故障 5:过期")
    private Integer equipmentStatus;


    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备类型Name")
    private String equipmentTypeName;

    @ApiModelProperty(value = "设备型号")
    private String equipmentModel;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("设备厂商")
    private String equipmentManufacturer;

    @ApiModelProperty(value = "设备位置")
    private String installationPosition;


    @ApiModelProperty(value = "检测类型")
    private String detectionType;

    @ApiModelProperty(value = "点位接入数")
    private int pointAmount;

    @ApiModelProperty(value = "运营商")
    private String operators;

    @ApiModelProperty(value = "通讯方式")
    private String communicationMode;

    @ApiModelProperty(value = "设备下的点位IMEI,家用,一体默认存在: 1-1  ")
    private List<String> detectorImeiList;

    @ApiModelProperty(value = "设备来源：0：默认 1：紫荆wifi设备")
    private Integer equipmentFrom;

    @ApiModelProperty(value = "是否有接收器和电磁阀")
    private Boolean withReceiver;

    @ApiModelProperty(value = "接收器编号")
    private String receiverCode;

    @ApiModelProperty(value = "接收器类型 市电款 电池款")
    private String receiverType;

    @ApiModelProperty(value = "供电方式")
    private String receiverPowerMode;

    @ApiModelProperty("电磁阀id")
    private String valveId;


}
